package per.com.controller.runmanage;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import per.com.bean.BaseBean;
import per.com.service.impl.runmanage.RunmanageService;

@Controller
@RequestMapping("RunManage")
public class RunmanageController {
    @Autowired
    @Qualifier("RunmanageServiceId")
    private RunmanageService runmanageService;

    @RequestMapping(value = "GetRunManage",method = RequestMethod.POST)
    @ResponseBody
    public BaseBean GetRunManage(){
        return new BaseBean(0,"success",runmanageService.GetRunManage());
    }
}
